]> dgit.raspbian.org Git - gnome-shell.git/commit
Synchronize shell startup
authorJasper St. Pierre <jstpierre@mecheye.net>
Mon, 4 Nov 2013 15:07:44 +0000 (10:07 -0500)
committerJasper St. Pierre <jstpierre@mecheye.net>
Mon, 4 Nov 2013 16:50:20 +0000 (11:50 -0500)
commitda4238ec681c7ca5f682867933e1f8fcbc623bf8
tree201ea36d21cbacb5aa7ae98da88e8f125568ea7e
parent5f9e3edbe1f84684f849d20413b3d1f00521eb84
Synchronize shell startup

The asynchronous nature of extension loading, session loading, and more,
makes the code racy as to what is initialized first, and hard to debug.
Additionally, since gjs is single-threaded, the only code we're running
in a thread anyway is readdir, which is going to be I/O bound, so the
code here is actually likely to be faster.

Drop this in favor of some good old fashioned synchronous loading.
js/extensionPrefs/main.js
js/misc/extensionUtils.js
js/misc/fileUtils.js
js/ui/extensionSystem.js
js/ui/main.js
js/ui/remoteSearch.js
js/ui/sessionMode.js